<?php

$thisPage = "contactus";

TemplateHelper::useLayout("text");

function buildLayout(&$smarty) {
    global $subpage;
    $smarty->assign("text", getAboutUsContent($smarty));
    $smarty->assign("virt_exhibition", true);
}


function getPageHeader() {
    return TemplateHelper::getDefaultPageHeader();
}

function getPageFooter() {
    return TemplateHelper::getDefaultPageFooter();
}

function getAboutusContent($smarty) {
    global $thisPage;

    initDatabase();
    Database::loadModel("staticcontent");
    $content = Database::getModel()->getField("contactus");
    return array(
        content => $content,
        title => "Contact us",
    );
}

?>
